/**
 * <p>文件名: SysOutAuthServiceImpl.java</p>
 * <p>版权声明: Copyright &copy; 2012-2013 天健通泰科技</p>
 * <p>创建者: 李数</p>
 * <p>创建时间: 2012-10-22  下午04:23:13</p>
 */
package com.tjtt.tdm.system.service.impl;

import java.util.Map;

import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.system.bean.TdmOutauth;
import com.tjtt.tdm.system.dao.SysOutAuthDao;
import com.tjtt.tdm.system.service.SysOutAuthService;

/**
 * @author Administrator
 *
 */
public class SysOutAuthServiceImpl implements SysOutAuthService{
	private SysOutAuthDao sysOutAuthDao;

	public SysOutAuthDao getSysOutAuthDao() {
		return sysOutAuthDao;
	}

	public void setSysOutAuthDao(SysOutAuthDao sysOutAuthDao) {
		this.sysOutAuthDao = sysOutAuthDao;
	}

	
	public PageResult queryOutauth(Map filterMap) {
		return sysOutAuthDao.queryOutauth(filterMap);
	}
	
	
	public PageResult queryOutauthList(Map filterMap) {
		return sysOutAuthDao.queryOutauthList(filterMap);
	}

	
	public String haveOutauth(String userid) {
		return sysOutAuthDao.haveOutauth(userid);
	}

	
	public String getModule(String role,String haveModule) {
		return sysOutAuthDao.getModule(role,haveModule);
	}

	
	public String saveOutauth(TdmOutauth auth) {
		return sysOutAuthDao.saveOutauth(auth);
	}

	
	public void updateOutauth(TdmOutauth auth) {
		sysOutAuthDao.updateOutauth(auth);
	}

	
	public void deleteOutauth(String ids) {
		sysOutAuthDao.deleteOutauth(ids);
	}
	
	
}
